<!-- Dom模板 -->
<template>
  <div class="settledBox">
    <!-- Dom内容 -->
    <div class="background">
      <div class="top">
        <div>
          <i class="iconfont" @click="fan()">&#xe641;</i>
        </div>
        <div class="num">
          <h3>社区服务</h3>
        </div>
        <div class="iconList">
          <i class="iconfont">&#xe6d3;</i> | <i class="iconfont">&#xe501;</i>
        </div>
      </div>
      <div class="contont">
        <div class="contont_top">
          <h2>￥200.00 <b>元/月</b></h2>
          <p>补助社长奖金</p>
          <h4><i class="iconfont">&#xe61f;</i>嘉宾花园店</h4>
        </div>
        <div class="contont_nav">
          <h4>入驻社区服务</h4>
          <p>当前为“获取上边的”社区，当前已经有<i>694</i>位职场白领入驻！</p>
        </div>
        <div class="login">
          <h4>身份证号</h4>
          <input type="text" placeholder="请输入18位身份证号！" />
          <h4>手机号码</h4>
          <input type="text" placeholder="请输入10位手机号！" class="shouji" />
          <input type="text" placeholder="请输入验证码" />
          <button>快速入驻</button>
          <input type="radio" checked="radioFlage" class="ridios" />
          <p class="xieyi">默认他同意入驻社长 <i>服务协议</i></p>
          <button class="Yzm">发送验证码</button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
// import a from './a'; // 引入组件
export default {
  name: "",
  data() {
    return {
      msg: "测试",
      radioFlage: true,
    };
  },
  // 生命周期 - 创建完成（访问当前this实例）
  created() {},
  // 生命周期 - 挂载完成（访问DOM元素）
  mounted() {},
  // Vue方法定义
  methods: {
    fan(){
      console.log(this.$router.options);
      this.$router.history.go(-1)
    }
  },
};
</script>

<style scoped>
@import url("../../assets/fonts1/iconfont.css");

.settledBox {
  width: 100%;
  height: 100%;
}
.background {
  width: 100%;
  height: 200px;
  background: green;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
}
.top {
  width: 100%;
  height: 30px;
  line-height: 30px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
}
.next {
  margin-left: 5px;
}

.iconList {
  width: 100px;
  height: 30px;
  background: grey;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  text-align: center;
}
h3 {
  color: white;
  margin-left: 60px;
}
.contont {
  width: 340px;
  height: 600px;
  background: #f1f1f1;
  margin: 40px 0 0 40px;
  border-radius: 10px;
}
.contont_top {
  text-align: center;
}
h2 {
  padding-top: 20px;
  color: red;
}
b {
  font-size: 16px;
}
.contont_top p {
  margin: 10px 0;
  font-size: 14px;
}
.contont_nav h2 {
  color: #000;
}
.contont_nav {
  margin-left: 5px;
}
.contont_nav p {
  font-size: 12px;
  margin-top: 5px;
  color: #ccc;
}
input {
  width: 300px;
  height: 40px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  outline: none;
  background: white;
  position: relative;
  border: 1px solid #cccc;
  color: #ccc;
  margin: 10px 0 10px 20px;
}
.login {
  margin-top: 50px;
}
.login h4 {
  margin: 10px 0 0 20px;
}
button {
  width: 320px;
  height: 40px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  outline: none;
  margin: 50px 0 10px 10px;
  background: blue;
  font-weight: 600;
}
.ridios {
  width: 15px;
  height: 15px;
  margin-left: 50px;
  /* display: inline-block; */
}
.xieyi {
  display: inline-block;
  color: #ccc;
}
.xieyi i {
  color: red;
  font-style: normal;
  border-bottom: 1px solid red;
}
.shouji {
  position: relative;
}
.Yzm {
  width: 80px;
  height: 40px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  position: absolute;
  right: 54px;
  top: 345px;
  background: #ccc;
}
</style>